<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;
use think\model\relation\HasMany;

/**
 * @mixin Model
 */
class UserGroup extends Model
{
    // 用户组模型

    public function users(): HasMany
    {
        return $this->hasMany(Users::class);
    }

    public function rules(): HasMany
    {
        return $this->hasMany(Rules::class);
    }
}
